<style>
.layout {
    border: 1px solid #d7dde4;
    background: #f5f7f9;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.layout-logo {
    width: 100px;
    height: 30px;
    border-radius: 3px;
    background-color: #d7dde4 !important;
    float: left;
    position: relative;
    top: 15px;
    left: 20px;
}

.layout-nav {
    width: 420px;
    margin: 0 auto;
    margin-right: 20px;
}

.header {
    color: #d7dde4;
    font-size: x-large;
    text-align: left;
}
</style>
<template>
    <div class="layout">
        <Layout>
            <Header>
                <Menu mode="horizontal" theme="dark" active-name="1">
                    <div class="header">CRM管理系统</div>
                </Menu>
            </Header>
            <Layout>
                <Sider hide-trigger :style="{ background: '#fff' }">
                    <Menu active-name="1-2" theme="light" width="auto" :open-names="['1']">
                        <MenuItem>
                        <router-link to="/helloworld">客户管理</router-link>
                        </MenuItem>
                        <MenuItem>
                        <router-link to="/company/list">公司列表</router-link>
                        </MenuItem>
                    </Menu>
                </Sider>
                <Layout :style="{ padding: '0 24px 24px' }">
                    <router-view></router-view>
                </Layout>
            </Layout>
        </Layout>
    </div>
</template>

<script>



export default {
    name: 'IndexPage'
}
</script>